package esb.chapter2.camel;

import org.apache.camel.builder.RouteBuilder;

/**
 * @author nl24167
 */
public class SimpleFileRoute extends RouteBuilder {
    
    private final static String ENDPOINT_1 = "jbi:service:http://esbinaction.com/chapter2/fileSender";
    
    public void configure() throws Exception {
        from("jbi:service:http://esbinaction.com/chapter2/camelReceiver").to(ENDPOINT_1);
    }
}
